package org.jeecg.modules.business.repertory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务物料亮灯表
 *
 * @author gongwenkai
 * @version 1.0.0
 * @since 2023-10-10
 */
@ApiModel(value="wms_task_material_light对象", description="任务物料亮灯表")
@Data
@TableName("wms_task_material_light")
public class WmsTaskMaterialLight implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;

	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;

	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;

	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    /**逻辑删除*/
    @Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer delFlag;

    /**租户id*/
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    /**
     * 简单单据类型
     */
    @ApiModelProperty(value = "简单单据类型")
    private String simpleDocumentStatus;

    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id")
    private String taskId;

    /**
     * 任务物料id
     */
    @ApiModelProperty(value = "任务物料id")
    private String taskMaterialId;

    /**
     * 批次号
     */
    @ApiModelProperty(value = "批次号")
    private String batchCode;

    /**
     * 仓库id
     */
    @ApiModelProperty(value = "仓库id")
    private String wmsBasicWarehouseId;

    /**
     * 库区id
     */
    @ApiModelProperty(value = "库区id")
    private String wmsBasicWarehouseAreaId;

    /**
     * 库位id
     */
    @ApiModelProperty(value = "库位id")
    private String wmsBasicWarehouseAreaLocationId;

    /**
     * 亮灯状态
     */
    @ApiModelProperty(value = "亮灯状态")
    private String lightStatus;

    /**
     * ip
     */
    @ApiModelProperty(value = "ip")
    private String locationId;

    /**
     * siteCode
     */
    @ApiModelProperty(value = "siteCode")
    private Integer siteCode;

}
